package com.ruoyi.project.platform.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 用户apikey对象 plt_user_api
 * 
 * @author ruoyi
 * @date 2020-07-27
 */
public class PltUserApi extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** apiID */
    private Long apiId;

    /** apikey */
    @Excel(name = "apikey")
    private String apiKey;

    /** secretKey */
    @Excel(name = "secretKey")
    private String secretKey;

    /** passphrase */
    @Excel(name = "passphrase")
    private String passphrase;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 交易所id */
    @Excel(name = "交易所id")
    private String platform;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userName;

    public void setApiId(Long apiId) 
    {
        this.apiId = apiId;
    }

    public Long getApiId() 
    {
        return apiId;
    }
    public void setApiKey(String apiKey) 
    {
        this.apiKey = apiKey;
    }

    public String getApiKey() 
    {
        return apiKey;
    }
    public void setSecretKey(String secretKey) 
    {
        this.secretKey = secretKey;
    }

    public String getSecretKey() 
    {
        return secretKey;
    }
    public void setPassphrase(String passphrase) 
    {
        this.passphrase = passphrase;
    }

    public String getPassphrase() 
    {
        return passphrase;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setPlatform(String platform) 
    {
        this.platform = platform;
    }

    public String getPlatform() 
    {
        return platform;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("apiId", getApiId())
            .append("apiKey", getApiKey())
            .append("secretKey", getSecretKey())
            .append("passphrase", getPassphrase())
            .append("description", getDescription())
            .append("platform", getPlatform())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .toString();
    }
}
